//
//  QShowSignView.m
//  QoilPublic
//
//  Created by 杨凯 on 2017/3/20.
//  Copyright © 2017年 杨凯. All rights reserved.
//

#import "QShowSignView.h"
@interface QShowSignView ()
@property (weak, nonatomic) IBOutlet UILabel *titleLab;

@end
@implementation QShowSignView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
- (void)setStr:(NSString *)str{
    _str = str;
    _titleLab.text = _str;
}
- (IBAction)closeAction:(id)sender {
    if ([self.delegate respondsToSelector:@selector(closeAction)]) {
        [self.delegate closeAction];//刷新界面
    }
    if (self.CloseBlock) {
        self.CloseBlock();
    }
}


@end
